package com.hkts.management.feign;


import com.hkts.management.common.utils.Result;
import com.hkts.management.common.vo.DriverListInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient(value="yb",configuration = FeignHeadersInterceptor.class)
public interface YbInterface {

    @GetMapping("/ybMutual/ybMutualSovouch/ybMutualSovouchGetBycSOCode/{code}")
    public Result<Map<String,Object>> selectSovouchListBycInvName(@PathVariable(value="code") String code);

    @GetMapping("/ybMutual/ybMutualPovouch/ybMutualPovouchGetBycPOID/{code}")
    public Result<Map<String,Object>> selectPovouchListBycInvName(@PathVariable(value="code") String code);
}
